package com.ruoyi.web.controller.school;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.school.domain.PacActivationStatus;
import com.ruoyi.school.service.PacActivationStatusService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/*
 * @Author Lin
 * @Description 行政区域代码数量
 * @Date 2025/8/4
 */
@RestController
@RequestMapping("/school/activationStatus")
public class PacActivationStatusController extends BaseController {

    @Resource
    private PacActivationStatusService pacActivationStatusService;

    @GetMapping("/list")
    public AjaxResult list(PacActivationStatus pacActivationStatus) {
        List<PacActivationStatus> list = pacActivationStatusService.getList(pacActivationStatus);
        return success(list);
    }
}
